﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TAM_SPORT
{
    public partial class Error : TAM_SPORT.DialogBase
    {
        public Error()
        {
            InitializeComponent();
        }
        public Error(string message)
        {
            InitializeComponent();
            labelMessage.Text = message;
            loadImage(@"Resources\Images\Error.JPG");
            labelMessage.ForeColor = Color.Red;
            labelMessage.Font = new Font("Arial", 10);
        }
    }
}
